


#ifndef ISO14443p4_h__
#define ISO14443p4_h__

#include "contactless.h"
#include "CardCpu.h"

typedef struct ISO14443p4ParamTag
{
	unsigned int FWT;
	unsigned int FGT;
	unsigned int FSC;
	unsigned int SFGT;
	unsigned char blockFormat;
	unsigned char CID;
	unsigned char NAD;
	unsigned char sn;
}ISO14443p4Param_T;

int ISO14443p4_Check(CpuCard_T * card);

int ISO14443p4_Exchange(CpuCard_T* card, unsigned char capdu[], unsigned int clen, unsigned char rapdu[], unsigned int *rlen);

int ISO14443p4_Deselect(CpuCard_T * card);

int ISO14443_CheckPresence(CpuCard_T* card);


#endif // ISO14443p4_h__


